-- GENERATED SPELL FOR [Eclipsion Soldier] --


function spell0_22016(pUnit, Event) --@Blood Heal,Self--
pUnit:FullCastSpellOnTarget(36476,pUnit)
pUnit:RegisterEvent('Sorts_22016', 3000, 1)
end

function Sorts_22016(pUnit, Event)
local choix_sorts_22016 = math.random(0, 0)
if choix_sorts_22016 == 0 then
pUnit:RegisterEvent('spell0_22016', 1, 1)
end
end

function mob22016_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_22016', math.random(1500, 3000), 1)
end

function mob22016_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22016_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22016_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(22016, 1, 'mob22016_Action')
RegisterUnitEvent(22016, 2, 'mob22016_Leave')
RegisterUnitEvent(22016, 3, 'mob22016_Kill')
RegisterUnitEvent(22016, 4, 'mob22016_Die')
